# 车辆信息表
class CarInfo:
    carNumber=''
    carType=''
    carStatus=''
    carYear=''
    carInsuranceDate=''
    carCheckDate=''
    carPrice=0.00
    carHeader=''
    carHeaderPhone=''

    def __init__(self, carNumber, carType, carStatus, carYear, carInsuranceDate, carCheckDate, carPrice, carHeader, carHeaderPhone):
        self.carNumber = carNumber
        self.carType = carType  
        self.carStatus = carStatus
        self.carYear = carYear
        self.carInsuranceDate = carInsuranceDate
        self.carCheckDate = carCheckDate
        self.carPrice = carPrice
        self.carHeader = carHeader
        self.carHeaderPhone = carHeaderPhone

# 车辆库存信息表
class CarStockInfo:
    carType=''
    carAmount=0
    carTypeHeader=''
    carTypeHeaderPhone=''

    def __init__(self, carType, carAmount, carTypeHeader, carTypeHeaderPhone):
        self.carType = carType
        self.carAmount = carAmount
        self.carTypeHeader = carTypeHeader
        self.carTypeHeaderPhone = carTypeHeaderPhone

# 车辆使用信息表
class CarUseInfo:
    carUseId=0
    carNumber=''
    useMotive=''
    useDate=''
    useTime=0
    workerName=''
    workerPhone=''
    carHeader=''
    carHeaderPhone=''
    carTypeHeader=''
    carTypeHeaderPhone=''

    def __init__(self, carUseId, carNumber, useMotive, useDate, useTime, workerName, workerPhone, carHeader, carHeaderPhone, carTypeHeader, carTypeHeaderPhone):
        self.carUseId = carUseId
        self.carNumber = carNumber
        self.useMotive = useMotive
        self.useDate = useDate
        self.useTime = useTime
        self.workerName = workerName
        self.workerPhone = workerPhone
        self.carHeader = carHeader
        self.carHeaderPhone = carHeaderPhone
        self.carTypeHeader = carTypeHeader
        self.carTypeHeaderPhone = carTypeHeaderPhone

# 工作人员信息表
class Worker:
    workerName=''
    workerAge=0
    workerType=''
    workerDriver=''
    workerDriverYear=0
    workerPhone=''


    def __init__(self, workerName, workerAge, workerType, workerDriver, workerDriverYear, workerPhone):
        self.workerName = workerName
        self.workerAge = workerAge
        self.workerType = workerType
        self.workerDriver = workerDriver
        self.workerDriverYear = workerDriverYear
        self.workerPhone = workerPhone

# 工作人员类型表
class WorkerType:
    workerType=''

    def __init__(self, workerType):
        self.workerType = workerType

# 车辆类型表
class CarType:
    carType = ''

    def __init__(self, carType):
        self.carType = carType

# 车辆状态表
class CarStatus:
    carStatus = ''

    def __init__(self, carStatus):
        self.carStatus = carStatus



